package com.app.util;

import net.arnx.wmf2svg.Main;

import java.util.regex.Pattern;

public class PhoneNumberUtil {
    private static final Pattern PHONE_NUMBER_PATTERN =
            Pattern.compile("^1[3-9]\\d{9}$");

    public static boolean isValidPhoneNumber(String phoneNumber) {
        return PHONE_NUMBER_PATTERN.matcher(phoneNumber).matches();
    }

//    public static void main(String[] args) {
//        System.out.println(isValidPhoneNumber("176215418035"));
//    }
}
